<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/7/25
 * Time: 15:21
 */
namespace app\admin\controller;
use JPush\Client as JPush;

use app\admin\controller\JpushController;
class PushController {

    //推送
    public function tuisong ()
    {
        $Jpush = new JpushController();

        $alert = "wo shi dong tiangang ";
        $Jpush->push_all($alert);

    }



}